﻿using AutoMapper;
using Business.BookManagement.Dto;
using Business.Models;
using Business.SaleManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.SaleManagement
{
    public class SaleAutoMapperProfile : Profile
    {
        public SaleAutoMapperProfile()
        {
            CreateMap<Sale, SaleDto>();
            CreateMap<CreateOrUpdateSaleDto, Sale>();
        }
    }
}
